let express = require('express');
let router = express.Router();
let login_routes = require('./public/login');
let public_routes = require('./public/index');
let user_routes = require('./api/user');
let order_routes = require('./api/orders')

let app = express()

//拦截未登录路由

router.use('/api',login_routes);
router.use('/user',public_routes);
router.use('/api/user',user_routes);

module.exports = router;